<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<input type="hidden" id="totalPages" th:value="${dataMap['pages']}"/>
<input type="hidden" id="currentPage" th:value="${dataMap['pageNum']}"/>

<!--公共无数据提示 开始-->
<section class="no-data__wrap no-message-data__wrap" th:if="${#lists.isEmpty(dataMap['list'])}">
    <em>&nbsp;</em>
    <p>亲，还没有任何消息哦~~~</p>
</section>
<!--公共无数据提示 结束-->
<li  th:attrappend="data-id=${receiveAffiche['id']}" th:if="!${#lists.isEmpty(dataMap['list'])}" th:each="receiveAffiche:${dataMap['list']}">
    <div>
        <div class="card-content">
            <div class="list-block media-list">
                <ul class="order-course-list">
                    <li class="item-content"  th:attrappend="data-id=${receiveAffiche['id']}">
                        <div class="item-media text-center">
                            <label class="logo">
                                <span class="c-blue"><em class="iconfont icon-huati1"></em></span>
                            </label>
                        </div>
                        <div class="item-inner msgs" th:attrappend="data-id=${receiveAffiche['id']}">
                            <div class="item-title pt5">
                                <aside class="pull-right">
                                    <span class="fs4 c-bbb" th:text="${#strings.substring(receiveAffiche['createTime'],0,16)}"></span>
                                </aside>
                                <span  th:if="${receiveAffiche['status']}==1" class="badge wm-badge wm-badge-inline"></span>
                                <span class="c-888 fs6" th:if="${receiveAffiche['msgType']} == 1 or ${receiveAffiche['msgType']} == 3">管理员消息</span>
                                <span class="c-888 fs6" th:if="${receiveAffiche['msgType']} == 2">系统消息</span>
                                <div>
                                    <th:block th:if="${receiveAffiche['msgType']} == 1 or ${receiveAffiche['msgType']} == 2">
                                        <section class="c-333 fs6" th:utext="${receiveAffiche['context']}"></section>
                                    </th:block>

                                    <th:block th:if="${receiveAffiche['msgType']} == 3">
                                        <div class="c-888 fs4 mt5" th:utext="'引用：'+${receiveAffiche['reference']}"></div>
                                        <div class="mt5"><section class="c-333 fs6" th:utext="'回复：'+${receiveAffiche['context']}"></section></div>
                                    </th:block>
                                </div>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</li>

